<template>
<van-tabbar v-model="active" route>
  <van-tabbar-item icon="fire" to="/home">首页</van-tabbar-item>
  <van-tabbar-item icon="smile-comment" badge="5" to="/message">消息</van-tabbar-item>
  <van-tabbar-item icon="smile" to="/me">我的</van-tabbar-item>

</van-tabbar>
</template>

<script setup>
import { ref } from 'vue';

  const active = ref(0);
</script>

<style lang="less" scoped>

</style>